--- 战斗主类
---
--- @class Buff
Buff = Class("Buff")
local Buff = Buff

--- @public
--- @return Buff
function Buff:ctor(team, site)

    --- @type number
    self.skillUUID = 0;
    --- @type number

    self.id = 0;
    --- @type number
    self.verlay = 0;

    self.buffConf = nil;

    --值加成*/
    --- @type BaseAttribute
    self.attributes = {};
    --状态*/
    --- @type number
    self.state = {};
    --标记*/
    --- @type table<number,boolean>
    self.sign = {};

    -- buff在谁身上 */
    --- @type Fighter
    self.target = nil;

    -- 来源 */
    --- @type Fighter
    self.source = Fighter.New();

    -- 什么技能加的 */
    --- @type BattleUseSkill
    self.skill = nil;
    --- @type number
    self.triggerTimes = 0;

    --[[
    * 上次触发buff效果的回合
    */]]
    --- @type number
    self.triggerRound = 0;
    --- @type boolean
    self.removeEffect = false;

    --进入触发次数 无关触发成功与否*/
    --- @type number
    self.inTriggerTimes = nil;
    --池*/
    --- @type BasePool
    self.pool = BasePool.New();

    --- @type number
    self.startRound = 0;
    --- @type  TeamFightResult
    self.TeamFightResult = TeamFightResult.New();

    --private IFightEventListener removeListener;
    --
    --private IFightEventListener triggerListener;
    --- @ type table<string, table>
    self.effectParams = {};

end
function Buff:getModelId()
    return buffConf.getF_BuffID();
end
